ExamPlay Light Logo
Kirjaudu sisään

Computer Science for IGCSE & O level - Programming (Section 15 - No. 47)

What is the role of the `if` statement in a program?
To define a loop.
To declare variables.
To execute code conditionally based on a condition.
To take input from the user.

Selitys

The if statement allows the program to make decisions and execute code based on those decisions.

Kommentit (0)

Kirjaudu sisään kommentoidaksesi
Mainos
BrainBehindX Inc Logo
©2026; Powered By BrainBehindX Inc